import gzip

reflag = False

def read1():
    global  reflag
    with gzip.open("./t2.txt.gz",'rb') as f:
        f.peek()
        while True:
            line = f.readline()

            if not line:
                break
            # print(line)
            print(f.tell())
            if f.tell() == 148 and not reflag:
                reflag = True
                f.seek(72)
            print(line.decode('utf-8'),end="")



read1()
